package abstracttest;

import com.example.pojo.SystemUser;
import com.example.service.SystemUserService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

public class AbstractSystemUser extends AbstractBase {
    @Autowired
    private SystemUserService systemUserService;

    @Test
    public void test1(){
        SystemUser systemUser=systemUserService.findOne(1);
        logger.info("用户名:"+systemUser.getUsername()+",密码:"+systemUser.getPassword());
    }

    @Test
    public void test2(){
        systemUserService.del();
    }
}
